var ItemFactory = {
	//Weapons
	gun: {name: "gun", tile: "gun", isW: true},
	
	//Armours
	armour: {name: "armour", tile: "armour", isA: true},
	
	//Amulets
	amulet: {name: "amulet", tile: "amulet", isL: true, effect: AmuletEffect.amulet},
	
	getItem: function(name, status){
		var ret = {};
		var base = ItemFactory[name];
		if (!base) throw "Invalid Item [[" + name + "]]";
		
		for (var i in base){
			ret[i] = base[i];
		}
		
		if (!ret.isL)
			ret.status = status;
		
		return ret;
	}
};
